package org.bigdata.framework.core.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2017-07-21
 */
@TableName("analysis_topic_target")
public class AnalysisTopicTarget implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 关联analysis_topic表
	 */
	@TableField(value="analysis_topic_id")
	private Integer analysisTopicId;

	/**
	 * 指标名称
	 */
	@TableField(value="target_name")
	private String targetName;

	/**
	 * 指标分析字段（单值）
	 */
	@TableField(value="target_field")
	private String targetField;

	/**
	 * 统计图类型（broken-折线图；pie-饼图；bar-柱状图；circular-关系图；力导向图-force；漏斗图-funnel；雷达图-radar；趋势图-tendency）
	 */
	@TableField(value="chart_type")
	private String chartType;

	/**
	 * 是否开启数值统计（0-开启 1-不开启）
	 */
	@TableField(value="number_statistic")
	private Integer numberStatistic;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getAnalysisTopicId() {
		return analysisTopicId;
	}

	public void setAnalysisTopicId(Integer analysisTopicId) {
		this.analysisTopicId = analysisTopicId;
	}

	public String getTargetName() {
		return targetName;
	}

	public void setTargetName(String targetName) {
		this.targetName = targetName;
	}

	public String getTargetField() {
		return targetField;
	}

	public void setTargetField(String targetField) {
		this.targetField = targetField;
	}

	public String getChartType() {
		return chartType;
	}

	public void setChartType(String chartType) {
		this.chartType = chartType;
	}

	public Integer getNumberStatistic() {
		return numberStatistic;
	}

	public void setNumberStatistic(Integer numberStatistic) {
		this.numberStatistic = numberStatistic;
	}

}
